<html>
<head><meta charset="utf-8"><title>Generating malloc calls in cranelift? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Generating.20malloc.20calls.20in.20cranelift.3F.html">Generating malloc calls in cranelift?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="197378358"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Generating%20malloc%20calls%20in%20cranelift%3F/near/197378358" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Generating.20malloc.20calls.20in.20cranelift.3F.html#197378358">(May 13 2020 at 07:50)</a>:</h4>
<p>Sorry if cranelift questions are not welcome here -- I'm trying to generate <code>malloc</code> calls in cranelift, but this type doesn't let me: <a href="https://docs.rs/cranelift-codegen/0.63.0/cranelift_codegen/ir/struct.ExtFuncData.html">https://docs.rs/cranelift-codegen/0.63.0/cranelift_codegen/ir/struct.ExtFuncData.html</a>, I can't define an <code>ExternalName</code> for it. Any tips?</p>



<a name="197387190"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Generating%20malloc%20calls%20in%20cranelift%3F/near/197387190" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Generating.20malloc.20calls.20in.20cranelift.3F.html#197387190">(May 13 2020 at 09:26)</a>:</h4>
<p>Replied at <a href="https://bytecodealliance.zulipchat.com">https://bytecodealliance.zulipchat.com</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>